package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;

/**
 * 日程表
 *
 * @author wb
 */
public class CalendarAddVO
{
    private static final long serialVersionUID = 1L;

    /** 月份名称 */
    private String date;

    /** 日程类型 */
    private String type;

    /** 日程内容 */
    private String content;

    /** 日程时间 */
    private String time;

    @NotBlank(message = "日期不能为空")
    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @NotBlank(message = "类型不能为空")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @NotBlank(message = "类型不能为空")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @NotBlank(message = "时间范围不能为空")
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("date", getDate())
            .append("type", getType())
            .append("content", getContent())
            .append("time", getTime())
            .toString();
    }

}
